import { Route, useRoutes } from 'react-router-dom'
import routes from './routes'

export default function Router() {
  return useRoutes(routes)
}
